<!DOCTYPE html>
<html>
<head>
    <title>在对应的框中输入信息查询结果</title>
    <style>
        .select {
            top: 0;
            width: 100%;
            background-color: #F8F9FA;
        }

        .content {
            top: 50px;
            overflow: hidden;
            width: 100%;
            height: 100vh;
        }

        iframe {
            overflow: hidden;
            width: 100%;
            height: 100%;
            border: 0;
        }

        td {
            text-align: right;
        }

    </style>
</head>

<body>
<div class="select">
    <table>
        <tr>
            <td>
                <form action="selectsn2.php" method="post" target="dd3">
                    <label for="search_term">序列号:</label>
                    <input type="text" id="search_term" name="search_term">
                    <button type="submit">确定</button>
                </form>
            </td>
            <td>
                <form action="selectip2.php" method="post" target="dd3">
                    <label for="search_term">IP地址:</label>
                    <input type="text" id="search_term" name="search_term">
                    <button type="submit">确定</button>
                </form>
            </td>
        </tr>
        <tr>
            <td>
                <form action="selectroom2.php" method="post" target="dd3">
                    <label for="search_term">机房:</label>
                    <input type="text" id="search_term" name="search_term">
                    <button type="submit">确定</button>
                </form>
            </td>
            <td>
                <form action="selectbelongen2.php" method="post" target="dd3">
                    <label for="search_term">部门:</label>
                    <input type="text" id="search_term" name="search_term">
                    <button type="submit">确定</button>
                </form>
            </td>
        </tr>
    </table>
</div>
<div class="content">
    <iframe class="content-3" name="dd3"></iframe
</div>
</body>
</html>